﻿using System;

namespace StringFormats
{
    class Program
    {
        static void Main(string[] args)
        {
            //Console.WriteLine("Hello World!");

            var lib = new Library("田", "基地", 20, "M4", "600");

            Console.WriteLine(lib);
            Console.WriteLine();
            Console.WriteLine(lib.ToString("A"));
            Console.WriteLine();
            Console.WriteLine($"{lib}");

        }
    }
}
